Inserting a Field Type

Ektron CMS400.NET provides several options that let you insert or edit fields in the editor. Each field type is described below.

Field type

Icon

Description

For more information, see

Group Box

Groups related fields, which can be surrounded by a box and have a caption

Group Box

Tabular

Same as group box, but fields can be presented in a table format

Tabular Data

Text

Lets user insert and format free text using editor

Text

Choices

Several choices appear on screen. User checks appropriate boxes. All user choices are inserted as values within single XML tag.

Choices

Checkbox

User’s response is either checked or unchecked

Checkbox

Calculated

Performs calculations using other fields on the screen

Calculated

Calendar

Lets user insert a date by clicking a calendar

Calendar

Image Only

Lets user insert an image

Image Only

Link Field

Lets user insert a link to a file, such as a PDF document

File Link

Resource Selector

Lets user place content or folders on a Smart Form

Resource Selector

Field Properties

Lets you change the properties of any field. Select field then click this button.

Note: This option is also available on the right click menu.

 

Validate

Ensure the screen contains valid XML.

This button is available in data entry and data design modes.

 

Display internals of Data Design

See Viewing an Internal Representation of the Design

 

Validate

Validates data when previewing data entry

 

Deleting a Field from the Screen

To remove a field from the screen, follow these steps.

1. Move the cursor to the field. The field’s background color changes.

2. Press <Ctrl>+<X> to remove the field.

Note: Usually, the field label is not deleted when you delete a field. To delete the label, select it and press <Ctrl>+<X>.

Previewing the Screen

If you want to view how the screen will appear to the person who will complete the screen, click View Data Entry () at the bottom of the editor. (See Also: Inserting a Field Type.)

Viewing an Internal Representation of the Design

Several toolbar buttons display an internal representation of the Data Design. The buttons are described below.

Button

Description

Example

The XML data document

- <root>

- <Information>

<LastName />

<FirstName />

<MiddleName />

<Gender>male</Gender>

<Address />

<city />

<state>MA</state>

<Zip />

<SSN />

<BDate />

<HomeTel />

<WorkTel />

<x-ray />

- <Dental_Insurance>

<Field1 />

<OtherInsurance>N/A</OtherInsurance>

<Account_Number>N/A</Account_Number>

</Dental_Insurance>

<medication />

<lastAppointment />

<clincal />

</Information>

</root>

The structure, content, and semantics of an XML document

- <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">

- <xs:element name="root">

- <xs:complexType>

- <xs:sequence>

- <xs:element name="Information">

- <xs:complexType>

- <xs:sequence>

- <xs:element name="LastName">

- <xs:simpleType>

- <xs:restriction base="xs:string">

<xs:minLength xmlns:xs="http://www.w3.org/2001/XMLSchema" value="1" />

</xs:restriction>

</xs:simpleType>

</xs:element>

- <xs:element name="FirstName">

- <xs:simpleType>

- <xs:restriction base="xs:string">. .. ..

A list of all fields and information about them (as XML)

<fieldlist>

<field name="LastName" datatype="string" basetype="text" xpath="/root/Information/LastName" title="Last Name">Last Name</field>

<field name="FirstName" datatype="string" basetype="text" xpath="/root/Information/FirstName" title="First Name">First Name</field>

<field name="MiddleName" datatype="string" basetype="text" xpath="/root/Information/MiddleName" title="Middle Name">Middle Name</field>

<field name="Gender" datatype="choice" basetype="text" xpath="/root/Information/Gender" title="" datalist="IDAPK3KC">Gender</field> . .. .. ..

Index

xpath information for any indexed field on the screen

<indexable>

<xpath type="string">/root/Information/SSN</xpath>

<xpath type="string">/root/Information/HomeTel</xpath>

<xpath>/root/Information/WorkTel</xpath>

</indexable>

The Data Design document’s presentation XSLT

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" version="1.0" omit-xml-declaration="yes" indent="yes" encoding="utf-8" />

<xsl:strip-space elements="*" />

<xsl:variable name="ektdesignns_fieldlist" select="/*/ektdesignpackage_list/fieldlist" />

- <xsl:template match="/" xml:space="preserve">

<p> </p>

- <fieldset id="Information" title="Demographic Information">

<legend>Patient Information</legend>

- <div>

- <p>

<strong>Last Name</strong>

<xsl:text> </xsl:text>

<xsl:value-of select="/root/Information/LastName" />

<strong>First Name</strong>

<xsl:text> </xsl:text>

<xsl:value-of select="/root/Information/FirstName" /> .. .. ... ..

Previous TopicNext Topic|